<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .container{
            width: 1000px;
            height: 500px;
            margin-left: auto;
            margin-right: auto;
            background: pink;
        }
        .list{
           display: grid;
           grid-template-columns: 1fr 2fr 1fr 1fr;
           grid-template-rows: 300px 100px;;
            /* justify-content: space-between; */
        }
        .list>div{
            border: 1px solid #333;
            margin-left: -1px;
            margin-top: -1px;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="list">
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
        </div>
        
    </div>
</body>
</html>